<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../script/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
        $(function () {
            alert("预加载函数");
        });
        window.onload = function () {
            alert("页面加载事件");
        };
    </script>
</head>
<body>
<img src="jf.gif" alt="">
</body>
</html>